package com.credit.service;

import com.credit.common.ServerResponse;
import com.credit.pojo.balanceSheet;
import com.credit.pojo.flows;
import com.credit.pojo.profit;
import com.credit.vo.YearVo;

public interface IFinanceService {

	//资产负债表
	ServerResponse insertBalanceSheet(balanceSheet record);
	
	ServerResponse selectBalanceSheetKey(Integer id);
	 
	ServerResponse updateBalanceSheet(balanceSheet record);
	 
	ServerResponse BalanceSheet(YearVo y);
	
	//现金流量
	ServerResponse insertFlows(flows record);
	 
	ServerResponse selectFlowsKey(Integer id);
	 
	ServerResponse updateFlows(flows record);
	 
	ServerResponse selectFlows(YearVo y);
	
	
	//利润表
	ServerResponse insertProfit(profit record);
	
	ServerResponse selectProfitKey(Integer id);
	 
	ServerResponse updateProfit(profit record);
	 
	ServerResponse selectProfit(YearVo y);
}
